/*
 * InputElement.h
 *
 *  Created on: 2010-6-6
 *      Author: guobc
 */

#ifndef INPUTELEMENT_H_
#define INPUTELEMENT_H_

#include "CommonElement.h"

namespace HA {
class InputElement: public HA::CommonElement {
public:
	InputElement();

	/**
	 * Get the set of names handles by this element.
	 * @return The names to be matched that create elements of this type.
	 */
	inline string* getIds() const {
		return mIds;
	}

	/**
	 * Allow creating an instance of this node.
	 * @return A new instance of this node.
	 */
	inline ASTNode* newInstance() const {
		return new InputElement();
	}

private:
	static string mIds[];
};
}
#endif /* INPUTELEMENT_H_ */
